package com.pharmacy.dto;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "药品添加实体类")
public class MedicinesAddDto {

    @Schema(description = "药品名称")
    private String name;

    @Schema(description = "药品号码")
    private String barcode;

    @Schema(description = "分类id")
    private Long categoriesId;

    @Schema(description = "药品价格")
    private BigDecimal price;

    @Schema(description = "药品数量")
    private Integer stock;

    @Schema(description = "药品描述")
    private String description;

    @Schema(description = "药品图片")
    private String image;

    @Schema(description = "药品类型")
    private Boolean isPrescription;

    @Schema(description = "过期时间")
    private LocalDateTime expirationDate;



}
